﻿using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;

namespace TB.IDAL
{
    public interface IDALDianpu
    {
        int Insert(Entity.dianpu obj);
        int Delete(Entity.dianpu obj);
        int Update(Entity.dianpu obj);
        List<Entity.dianpu> LoadAll();
        Entity.dianpu LoadById(int shopId, string nickname);
        System.Data.DataSet LoadAllGx(out int noGxSum, string zdDate, int daysNum);

        System.Data.DataSet PartPageFunc(int pageCurrent, int pageSize, out int counts, out int pageNums, string conditionWhere);
        System.Data.DataSet GetDataSet(string strSql);
       // System.Collections.ArrayList LoadBySql(string strSql, params string[] cols);
        int UpdateTemplateId(int shopid,string templateId);
        int GetDianpuSum();

    }
}
